package com.ruoyi.web.sso.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author cdd
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AddRoleMenu implements Serializable {

    /**
     * 角色ID
     */
    @ApiModelProperty(value="角色ID" ,required=true)
    @NotBlank(message = "字段不能为空")
    private String roleId;

    /**
     * 菜单ID
     */
    @ApiModelProperty(value="菜单ID" ,required=true)
    @NotBlank(message = "字段不能为空")
    private String menuId;



}
